package com.conferenceroom.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.conferenceroom.dto.AjaxResult;
import com.conferenceroom.dto.CustomerReport;
import com.conferenceroom.entity.Record;
import java.util.List;

public interface RecordService extends IService<Record> {
    List<Record> getRecordsByUserId(Integer userId);
    List<Record> getRecordsByRoomId(Integer roomId);
    List<Record> list(QueryWrapper<Record> queryWrapper);
    IPage<Record> pageByCondition(IPage<Record> page, Record record);

    AjaxResult customerReport(CustomerReport customerReport);
}

